package com.charlotte.study.gupao.strategy.general;

/**
 * @author junjie.ding
 * @date 2020/3/16
 */
public class Context {

    private IStrategy strategy;

    public Context(IStrategy strategy) {
        this.strategy = strategy;
    }

    public void algorithm(){
        this.strategy.algorithm();
    }
}
